PDF.co icon

PDF.co

Automate document workflows with OCR, AI invoice parsing, data extraction, conversion, form filling, merging/splitting, and barcode processing. Ideal for invoices, forms, and scanned files.

Merge PDF

AI-generated

Summary

Merge the supplied PDF files into one PDF through PDF.co. Provide one or more direct source URLs; optionally enable conversion of supported non-PDF files and configure output, access, expiration, or callback settings.

Inputs

  • Authentication — Choose OAuth2 or API Key authentication; OAuth2 is the default.
  • File URL(s) to Merge (required) — One or more direct URLs to the source files. Add multiple URL fields or separate links with commas.
  • Automatically Convert Non-PDF Files — When enabled, PDF.co converts DOC, DOCX, XLS, JPG, PNG, MSG, and EML files to PDF before merging. Defaults to off.
  • Advanced Options — Optional settings: Custom Profiles accepts JSON processing options; File Name sets the output filename; HTTP Username and HTTP Password provide credentials for source URLs that require them; Output Links Expiration sets the output link lifetime in minutes (default 60); Webhook URL receives output data by callback.

Output shape

A single item containing the PDF.co merge response.

The response includes output data or a link as provided by PDF.co; the selected custom profile can request a different output format, such as base64. The source pack exposes only the merge action's function signature, so the precise response fields and callback behavior are not shown.

Examples

Example 1: Merge documents and send the result to a webhook

Set File URL(s) to Merge to the source URLs, enable automatic conversion if needed, and set Webhook URL to the receiving endpoint.

Links

Discussion